﻿using System.Windows.Data;

namespace MessageBoxWPF
{
    public class ImageConverterSingleton
    {

        private static IValueConverter _instance;
        public static IValueConverter Instance
        {
            get
            {
                if (_instance == null)
                    _instance = new Converter.SystemIconConverter();

                return _instance;
            }
            set
            {
                _instance = value;
            }
        }
    }
}
